package com.dz.goods.domain.entity;

import com.dz.common.core.entity.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;


@Table(name="tb_pref")
@Data
@Entity
public class Pref extends BaseEntity implements Serializable{

	@Id
    @Column(name = "id")
	private Integer id;

    @Column(name = "cate_id")
	private Integer cateId;

    @Column(name = "buy_money")
	private Integer buyMoney;

    @Column(name = "pre_money")
	private Integer preMoney;

    @Column(name = "start_time")
	private Date startTime;

    @Column(name = "end_time")
	private Date endTime;

    @Column(name = "type")
	private String type;

    @Column(name = "state")
	private String state;


}
